#include"Log.hpp"

using namespace LogModule;


int main()
{
	ENABLE_FILE_LOG();
	LOG(LogLevel::DEBUG) << "hello file"; 
	LOG(LogLevel::DEBUG) << "hello file"; 
	LOG(LogLevel::DEBUG) << "hello file";
	LOG(LogLevel::DEBUG) << "hello file";
	//logger(level,__FILE__,__LINE__); 宏替换 + operator() 重载
	//LogMessage << "hello file"       operator<< 重载


	ENABLE_CONSOLE_LOG();
	LOG(LogLevel::DEBUG) << "hello console"; 
	LOG(LogLevel::DEBUG) << "hello console";
	LOG(LogLevel::DEBUG) << "hello console"; 
	LOG(LogLevel::DEBUG) << "hello console";


	return 0;
}